package utils;

/**
 * Created by IntelliJ IDEA.
 * User: Shawn
 * Date: 2009-5-29
 * Time: 22:24:07
 */
public class Var {

  public static final String ADMIN_ACCOUNT = "admin";

  public static final int PAGE_LENGTH = 15;

  public static final String SYS_LOGIN = "index.jsp";
  public static final String STU_LOGIN = "login.jsp";

  public static final String ACTION_SUCCESS = "success";
  public static final String ACTION_ERROR = "error";

  public static final String ROOT_FOLDER = "d:\\exam";

  public static final int RIGHT_CONTROL_IP = 1;
  public static final int RIGHT_CONTROL_EXAMINEE = 2;
  public static final int RIGHT_QUESTION = 4;
  public static final int RIGHT_SETUP = 8;
  public static final int RIGHT_EXAMINEE_IMPORT = 16;
  public static final int RIGHT_EXAMINEE_MANAGE = 32;
  public static final int RIGHT_EXAMINEE_UPDATE = 64;
  public static final int RIGHT_EXAM = 128;
  public static final int RIGHT_STATISTIC = 256;

}
